import { RouteRecordRaw } from 'vue-router';

export default {
  path: '/qianchuanad',
  name: 'qianchuanad',
  redirect: '/qianchuanad/agents',
  component: () => import('@/layout/index.vue'),
  meta: {
    title: '千川管理',
    icon: 'el-icon-user',
    sort: 8,
    roles: ['admin', 'adminSp']
  },
  children: [
    {
      path: '/qianchuanad/code',
      name: 'qccode',
      component: () => import('@/views/qianchuanad/code/index.vue'),
      meta: {
        title: '兑换码管理',
        icon: 'el-icon-more'
      }
    }
  ]
} as RouteRecordRaw;
